Return

Edit Task: SetResourceDetails CapacityType

Description

The CapacityType attribute under EditTask defines the resource usage's capacity type for a specified resource for all of the task's possibilities.

Parameters

ParameterDescription
ResourceNameThe parameter is a string of text of the resource that is being defined by the command.
CapacityTypeOptions are "NA", "Deplete", "Replenish", "Resilient", "SetEndValue", "ReplenishAtStart", "DepleteAtStop", "StateMode", "WithinRange", "SetStartValue". This value must be compatible with the corresponding resource capacity attributes.

Examples

Set the resource usage type to WithinRange for all possibilities that use SSR in the FUSEscience task.

PATCH api/task/FUSEscience

Body:

{

"SetResourceDetails" : {

"ResourceName" : "SSR",

"CapacityType" : "WithinRange" }

}